package com.cysyz.mylib.dao;


import java.util.List;

public interface SqlBaseDao {

	<T> long getCount(String sql, List<Object> params);

	void execute(String sql, List<Object> params);

	List<Object[]> list(String sql, List<Object> params);

	<T> PagingResult<T> listPaging(String sql, List<Object> params, Class<T> resultClazz, String mappingInfo, int page, int maxResult);
}